package com.mi.rof.utils;


import com.mi.rof.entity.vo.UserInfoVo;


public class UserThreadLocal {

    private UserThreadLocal(){}

    public  static final ThreadLocal<UserInfoVo> LOCAL = new ThreadLocal<>();

    public static void put(UserInfoVo userInfoVo) {
        LOCAL.set(userInfoVo);
    }

    public static UserInfoVo get() {
        return LOCAL.get();
    }

    public static void remove() {
        LOCAL.remove();
    }
}
